import request from '@/utils/request'

export function getListPage(params) {
    return request({
        url: '/ids/pub/user/userList',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'page-num': params.pageNum,
        'page-size': params.pageSize
        },
        method: 'get',
        params:params
    })
}
export function getDetails(userId) {
    return request({
        url: '/ids/pub/user/appUserById/'+userId,
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'GET',
    })
}
export function getDetailsList(params) {
    return request({
        url: '/pay/account/coin/user/list',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'pageNum': params.pageNum,
        'pageSize': params.pageSize
        },
        method: 'get',
        params:params
    })
}
export function getTotal(userId) {
    return request({
        url: '/pay/account/coin/findInAndOutByUserIdToXkb?userId='+userId,
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        },
        method: 'get',
    })
}
